import { lazy } from 'react';

export const lazyElement = (path: string) => {
  return lazy(() => import(path));
};
